package com.cosmoplat.xikai.business.service;

import com.cosmoplat.xikai.business.domain.BaseMaterial;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 22047582
* @description 针对表【base_material】的数据库操作Service
* @createDate 2025-01-07 13:51:30
*/
public interface BaseMaterialService extends IService<BaseMaterial> {

    /**
     * 根据mes物料id获取基础物料信息
     * @param materialId
     * @return
     */
    BaseMaterial getByMesMaterialId(String materialId);

    /**
     * 初始化mes的物料数据
     * @date 15:13 2025/1/8
     * @return null
     **/
    boolean initMesData();
}
